#!/bin/bash
find -iname "*.c" -exec gcc -c {} \;
find -iname "*.c" -exec gcc -fPIC -shared {} -o libtim.so \;
find -iname "*.o" -exec ar rc libtim.a {} \;
find -iname "*.so" -exec cp -u -t /usr/lib/tim {} \;
find -iname "*.a" -exec cp -u -t /usr/lib/tim {} \;
find -iname "*.h" -exec cp -u -t /usr/lib/tim/include {} \;
svn add -q *.c *.h
svn commit -m "" $SVN_ACCOUNT 
